$(document).ready(function() {
	var clientx = $('#clientx');
	var clienty = $('#clienty');
	var offsetx = $('#offsetx');
	var offsety = $('#offsety');
	var pagex = $('#pagex');
	var pagey = $('#pagey');
	var screenx = $('#screenx');
	var screeny = $('#screeny');

	$('#box').mousemove(function(event) {
		clientx.text(event.clientX);
		clienty.text(event.clientY);
		offsetx.text(event.offsetX);
		offsety.text(event.offsetY);
		pagex.text(event.pageX);
		pagey.text(event.pageY);
		screenx.text(event.screenX);
		screeny.text(event.screenY);
	});
});